<template>
  <div>expose</div>
</template>

<script>
import { ref } from "@vue/runtime-core";
export default {
  setup(props, { expose }) {
    const count = ref(0);
    const increment = () => ++count.value;
    expose({
      increment,
    });
    console.log(props, expose);
    let str = ref("heo");
    return {
      str,
    };
  },
};
</script>
